package model

type SysUsersCreateRequest struct {
	Id          int64  `json:"id"`
	Uuid        string `json:"uuid"`
	Username    string `json:"username"`
	Password    string `json:"password"`
	NickName    string `json:"nick_name"`
	SideMode    string `json:"side_mode"`
	HeaderImg   string `json:"header_img"`
	BaseColor   string `json:"base_color"`
	ActiveColor string `json:"active_color"`
	AuthorityId int64  `json:"authority_id"`
	Phone       string `json:"phone"`
	Email       string `json:"email"`
	Enable      int    `json:"enable"`
	CreatedAt   int64  `json:"created_at"`
	UpdatedAt   int64  `json:"updated_at"`
	DeletedAt   int64  `json:"deleted_at"`
}
type SysUsersUpdateRequest struct {
	Id          int64   `json:"id"`
	Uuid        *string `json:"uuid"`
	Username    *string `json:"username"`
	OldPassword *string `json:"old_password"`
	Password    *string `json:"password"`
	NickName    *string `json:"nick_name"`
	SideMode    *string `json:"side_mode"`
	HeaderImg   *string `json:"header_img"`
	BaseColor   *string `json:"base_color"`
	ActiveColor *string `json:"active_color"`
	AuthorityId *int64  `json:"authority_id"`
	Phone       *string `json:"phone"`
	Email       *string `json:"email"`
	Enable      *int    `json:"enable"`
	CreatedAt   *int64  `json:"created_at"`
	UpdatedAt   *int64  `json:"updated_at"`
	DeletedAt   *int64  `json:"deleted_at"`
}
type SysUsersListRequest struct {
	Id          int64   `json:"id"`
	Uuid        *string `json:"uuid"`
	Username    *string `json:"username"`
	Password    *string `json:"password"`
	NickName    *string `json:"nick_name"`
	SideMode    *string `json:"side_mode"`
	HeaderImg   *string `json:"header_img"`
	BaseColor   *string `json:"base_color"`
	ActiveColor *string `json:"active_color"`
	AuthorityId *int64  `json:"authority_id"`
	Phone       *string `json:"phone"`
	Email       *string `json:"email"`
	Enable      *int    `json:"enable"`
	CreatedAt   *int64  `json:"created_at"`
	UpdatedAt   *int64  `json:"updated_at"`
	DeletedAt   *int64  `json:"deleted_at"`
	Index       int     `json:"index"`
	Size        int     `json:"size"`
}
type SysUsersListResponse struct {
	Total int             `json:"total"`
	List  []*SysUsersInfo `json:"list"`
}
type SysUsersInfoRequest struct {
	Id       int64  `json:"id"`
	UserName string `json:"user_name"`
	UserId   string `json:"user_id"`
}
type SysUsersInfo struct {
	Id          int64  `json:"id"`
	Uuid        string `json:"uuid"`
	Username    string `json:"username"`
	Password    string `json:"password"`
	NickName    string `json:"nick_name"`
	SideMode    string `json:"side_mode"`
	HeaderImg   string `json:"header_img"`
	BaseColor   string `json:"base_color"`
	ActiveColor string `json:"active_color"`
	AuthorityId int64  `json:"authority_id"`
	Phone       string `json:"phone"`
	Email       string `json:"email"`
	Enable      int    `json:"enable"`
	CreatedAt   int64  `json:"created_at"`
	UpdatedAt   int64  `json:"updated_at"`
	DeletedAt   int64  `json:"deleted_at"`
}
type SysUsersDeleteRequest struct {
	Id int64 `json:"id"`
}
